package cn.fintecher.pangolin.entity.elastic;

import cn.fintecher.pangolin.common.enums.BaseSelect;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Auther: xiaqun
 * @Description: 案件导入模板配置项
 * @Date: 9:50 2019/8/24
 */

@Data
public class ImportTemplateItem {
    @ApiModelProperty(value = "属性名")
    private String attribute;

    @ApiModelProperty(value = "Excel模板title名字")
    private String titleName;

    @ApiModelProperty(value = "系统内置字段中文名")
    private String name;

    @ApiModelProperty(value = "对应列")
    private String col;

    @ApiModelProperty(value = "sheet编号")
    private Integer sheetNumber;

    @ApiModelProperty(value = "主键标识")
    private BaseSelect keyFlag = BaseSelect.NO;

    @ApiModelProperty(value = "属性类型")
    private String propertyType;

//    @ApiModelProperty(value = "备注")
//    private String remark;

//    @ApiModelProperty("允许为空")
//    private BaseSelect blankFlag = BaseSelect.YES;
//
//    @ApiModelProperty("是否隐藏")
//    private BaseSelect hideFlag = BaseSelect.NO;
//
//    @ApiModelProperty("字段排序")
//    private Integer sort = 0;
//
//    @ApiModelProperty("是否更新")
//    private BaseSelect updateFlag = BaseSelect.YES;
}
